﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mindfor
{
	/// <summary>
	/// Contains regex constants.
	/// </summary>
	public static class RegexConsts
	{
		/// <summary>
		/// E-mail regex checker string.
		/// </summary>
		public const string EmailRegex = @"^([a-zA-Z0-9_\.-]+)@([a-zA-Z0-9_\.-]+)\.([a-zA-Z\.]{2,6})$";//@"^\w+([\-\+\.]\w+)*@\w+([\-\.]\w+)*\.\w+$";

		/// <summary>
		/// Url regex checker string.
		/// </summary>
		public const string UrlRegex = @"^\w+([\-\.]\w+)*\.\w+$";

		/// <summary>
		/// Url regex checker string with http:// prefix.
		/// </summary>
		public const string HttpUrlRegex = @"http://\w+([\-\.]\w+)*\.\w+([/\-\.%'\w]*)";
	}
}